<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<body>
<form action="/jquerystudent?action=fetch" method="post">
    <a href="${pageContext.request.contextPath}/jquerystudent?action=add">新增</a>
    <br/>
    <table border="1">
        <tr>
            <td>编号</td>
            <td>姓名</td>
            <td>年龄</td>
            <td>性别</td>
            <td>地址</td>
            <td>班级</td>
        </tr>
        <c:forEach items="${list}" var="list">
            <tr>
                <td>${list.id}</td>
                <td>${list.name}</td>
                <td>${list.age}</td>
                <td>${list.sex}</td>
                <td>${list.address}</td>
                <td>${list.school}</td>
                <td><a href="${pageContext.request.contextPath}/jquerystudent?action=update&uuid=${list.id}">修改</a></td>
                <td>&nbsp;&nbsp;&nbsp;</td>
                <td><a href="${pageContext.request.contextPath}/jquerystudent?action=del&uuid=${list.id}">删除</a></td>
            </tr>
        </c:forEach>
    </table>
</form>
</body>
</html>
